<template>
  <div class="error">
  	<img src="https://gw.alipayobjects.com/zos/rmsportal/wZcnGqRDyhPOEYFcZDnb.svg" alt="" />
  	<p >本账号暂无此功能权限，请立即实名认证。</p>
  	<p>实名认证成功后，您可以在云南物流云平台发布信息，共享资源</p>
  	<!--<a-button type="primary" style="margin-right: 40px;" @click="$router.back(-1)">返回</a-button>-->
	<router-link to="/user/auth">
  		<a-button type="primary" >立即认证</a-button>
	</router-link>
  	
  </div>
</template>
<script>
import {mapState, mapMutations} from 'vuex'

export default {
  name: 'Profile',
  data () {
    return {
    }
  },
  computed: {
    ...mapState({
      multipage: state => state.setting.multipage,
      user: state => state.account.user
    }),
    avatar () {
      return `static/avatar/${this.user.avatar}`
    },
    sex () {
    }
  },
  methods: {
    ...mapMutations({
      setUser: 'account/setUser'
    }),
  }
}
</script>
<style lang="less" scoped>
.error{
	text-align: center;
	min-height: 500px;
	p{
		font-weight: 700;
	    font-style: normal;
	    font-size: 18px;
	    color: #666666;
	    line-height: 22px;
	}
	img{
		margin-bottom: 20px;
		margin-top: 20px;
	}
}
  .user-profile {
    .ant-card-body {
      padding: 1rem 0 !important;
      p {
        font-size: .9rem !important;
        margin-bottom: .6rem !important;
      }
    }
  }
</style>
